package com.sykj.springboot.test.designMode.factoryMethodPattern;

public class YHuman implements Human {

    @Override
    public void say() {
        System.out.println("黄种人说你好");
    }

    @Override
    public void walk() {
        System.out.println("黄种人飞起来了");
    }

    @Override
    public void money() {
        System.out.println("黄种人用人民币");
    }
}
